From: Glenn Morris Date: Sat, 9 May 2020 17:17:27 +0000 (-0700) Subject: * src/xdisp.c (Fwindow_text_pixel_size): Fix previous merge. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~16^2~6623 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=94224c4addc999ad798cc690051498bcce199555;p=emacs.git * src/xdisp.c (Fwindow_text_pixel_size): Fix previous merge. --- diff --git a/src/xdisp.c b/src/xdisp.c index 3ff4365ea61..d65bb388699 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -10511,13 +10511,13 @@ include the height of both, if present, in the return value. */) bpos = BEGV_BYTE; while (bpos < ZV_BYTE) { - FETCH_CHAR_ADVANCE (c, start, bpos); + c = fetch_char_advance (&start, &bpos); if (!(c == ' ' || c == '\t' || c == '\n' || c == '\r')) break; } while (bpos > BEGV_BYTE) { - DEC_BOTH (start, bpos); + dec_both (&start, &bpos); c = FETCH_CHAR (bpos); if (!(c == ' ' || c == '\t')) break; @@ -10539,14 +10539,14 @@ include the height of both, if present, in the return value. */) bpos = ZV_BYTE; while (bpos > BEGV_BYTE) { - DEC_BOTH (end, bpos); + dec_both (&end, &bpos); c = FETCH_CHAR (bpos); if (!(c == ' ' || c == '\t' || c == '\n' || c == '\r')) break; } while (bpos < ZV_BYTE) { - FETCH_CHAR_ADVANCE (c, end, bpos); + c = fetch_char_advance (&end, &bpos); if (!(c == ' ' || c == '\t')) break; }